<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>转账记录</title>
    <link rel="stylesheet" type="text/css" href="../../css/base.css">
    <link rel="stylesheet" href="../../css/public.css">
    <style>
        .main{
            padding-bottom: 20px;
        }
        h5{
            font-weight: 100;
            background: rgba(204,204,204,.5);
            font-size: 0.7rem;
            padding: 8px 0 8px 10px ;
        }
        .list{
            font-size: 0.7rem;
        }
        .main .list li{
            padding: 10px;
            border-bottom: 1px solid #cccccc;
        }
        .main .list li .red{
            color: red;
        }
        .main .list li p:last-child{
            margin-top: 3px;
        }
        .main .list li .date{
            color: #777777;
            float: right;
        }
    </style>
</head>
<body>
<header id="header" class="fixed">
    <div class="header-wrap">
        <div class="header-l">
            <a href="javascript:history.go(-1)">
                <i class="back"></i>
            </a>
        </div>
        <div class="header-title">
            <h1>转账记录</h1>
        </div>
    </div>
</header>
    <div class="main" style="margin-top: 40px" id="log_list">

    </div>

</body>
</html>
<script type="text/html" id="log-list-tmpl">
    <% var log_list = datas['log_list']; %>
    <% if (log_list){%>
    <% for(var i = 0;i<log_list.length;i++){
    var log = log_list[i]['data'];
    var time = log_list[i]['time'];
    %>
    <% if (log.length > 0) {%>
    <div class="list">
    <h5><%=time%></h5><ul>
    <% for(var j = 0;j<log.length;j++){%>
        <li>
            <p>转账积分: <span class="red"><%=log[j]['points']%></span> <span class="date"><%=log[j]['transfer_time']%></span></p>
            <p>收款账号: <span><%=log[j]['account']%></span></p>
        </li>
    <%}%>
    </ul>
    </div>
    <%}else {%>
    <h5><%=time%></h5>
    <div class="list_detail">
        <p class="p1" style="text-align: center;color: lightgray">暂无数据</p>
    </div>
    <%}%>
    <%}%>
    <% if (hasmore) {%>
    <li class="loading"><div class="spinner"><i></i></div>明细数据读取中...</li>
    <% } %>
    <%}else {%>
    <div class="nctouch-norecord order">
        <div class="norecord-ico"><i></i></div>
        <dl>
            <dt>您还没有相关的明细</dt>
            <dd>可以去看看哪些想要买的</dd>
        </dl>
        <a href="<%=WapSiteUrl%>" class="btn">随便逛逛</a>
    </div>
    <%}%>
</script>
<script type="text/javascript" src="../../js/config.js"></script>
<script type="text/javascript" src="../../js/zepto.min.js"></script>
<script type="text/javascript" src="../../js/template.js"></script>
<script type="text/javascript" src="../../js/common.js"></script>
<script type="text/javascript" src="../../js/tmpl/transfer_points_log.js"></script>